re add map tests and document