worked on unit tests, tracking a bug with async events
add event test
Fixed tests
removed logging and makedist
More tests and cleanup