A test case for React implementation with requirejs