set up xcoverage and added 2 tests for webpage