fixed failing tests under Mojo 5.0+