Rename the existing tests to test-callbacks and add tests for promises

Whitespace changes