corrected issue with Unit testing and created test for Integration testing