compiles under scala 2.10 but tests fail