start working on tests
work on tests, add some temp debug logs