fix some things
add first test