removed unneeded code
increased test coverage
added coverage pragmas