fix eclipse compilation errors

It would be better to use assertEquals anyway