Adding tests for loaderjs