test class method create_mapping instead of instance counterpart