create jpa object and changing dipatchTest