Added automated test cases