case class test for customer assertion