add automapper flatting test