Fix test depends

Fix test suite by installing `gocov` and `goveralls` executables into tmp GOPATH before running tests; and simplify code for DRY.  

Addresses issue #8.