fixed compiler errors in tests