added unit tests for stage objects and also worked on the jpa for stage adoption