Implemented coverage command. Refactored test command. Relates to #11.