refractor move test enum to its own file
add assert with handler
add task assert with error catcher