added unit tests junit
added junit
added failed test case