Test for resource creation with unexpected parameters was added
Throw an error if 'createResource()' method takes empty object or nothing
Small changes :)