Applied Logs

Handled few more test cases