fix typos in QueueInbox
fix typo
added test cases
fix typo
added new method join() for actors
update tests for threads