adding tests to verify java script resource extension works as expected