fix almost all of the tests
all tests fixed
add the plan