Testing equivalence of maps in Go

You can't compare the two maps with !=, because it compares the string representation of the maps, so it will work only randomly (if the values are printed in the same order).

reference: http://stackoverflow.com/questions/21745073/testing-equivalence-of-maps-in-go-with-the-same-contents-but-the-test-failed