Adding test for map and struct.
Adding example for structs in README.