Added an AbstractMappingTest class to simplify the mapping tests