Add coverage.out in gitignore
Add unit test for isStatusValid