tests pass as expected