wrote integration test for user challenge page