adding tests for either map