Added error log and another test file