Fix: Updates to PR #650

```js
	hooks: function( handler ) {
		var test = this,
			hooks = [];

		if ( QUnit.objectType( config[ handler ] ) === "function" ) {
			hooks.push( test.queueHook( config[ handler ], handler ) );
		}
		if ( test.moduleTestEnvironment && QUnit.objectType( test.moduleTestEnvironment[ handler ] ) === "function" ) {
			hooks.push( test.queueHook( test.moduleTestEnvironment[ handler ], handler ) );
		}

		return hooks;
	},
```

I would prefer to miss that loop and just do this way on the example, improving readability. If we need to scale in the future we could return the loop. Thoughts?