Add test for promise.catch(); a pattern for testing Loader calls.
Refactor Loader tests to use catch