Improved test suite and Added simplecov for code coverage