Add test for promise.catch(); a pattern for testing Loader calls.