refactored test_rapture to use reusable harness