Add build_tests function

Add make_raise helper
All tests pased