add a few more tests / test todos
fix js tests