Added automatic test case