tests for passing mappings as strings
fix nested mapping type check test