adjeusted test case, mapper uses cast instead of coerce