Small changes to test-yuiconfig-file
Changed renderOnAvailablePromise

And started with creating tests