If a student has misimplemented the interface such that the reference test cases do not compile, the compiler error messages reveal all the test cases to the student. Elsewhere, the system supports not showing the students the reference tests (cf "hints").
If the file that does not compile is the reference test class itself, the student should only be told that there is an interface problem; currently the only way to actually hide the test cases is to convert all the tests to use reflection and first confirm that the class/constructor/method/field exists.