Marshalling tests

Small fix to initialization of class method hash

Specs to ensure class methods accept all argument types other than Hashes.