refactoring simple RequireJS test
only one simple test for better understanding