heat tests : Improve resource.py test coverage

Add tests for good/error paths of create/update functions

ref bug 1146529

Change-Id: I2b50b94e61a85a681575fbe6cad5576f2df311b9