Fixed Errors in the test case. Complies and works fine!