Adding specs for kind_of and instance_of behaviour