added a unit test to see how many times ace.require is called if given parameters.