Fixed test case to compile with IntelliJ 12