fixed more compilation errors in tests for #254