updated tests and test case needs