Added Tests for Sync and Async