fix next_stage method, add test
add stage class
add challenge_result getter
fix parameter