Add tests for a mapper