Fixed bug where endpoint methods returning void were not being invoked
Added unit tests for async endpoint methods