more fixes
check for bad
initial tests