JavaScript: Simple JS Unit Test-Async