Add test for ModelMapper. Remove a useless repeated class

Signed-off-by: tianyuli <tli@wpi.edu>