Helpers for testing the mapper