Added error handling for return object
Fixed float in spec