basic in-memory bus working
added unit tests to bus implmentation