Junit test-cases for BACKLOG-595