Update unit tests

* Fix repeat tests
* Migrate some instrument task tests
* Enable instrumentTest during travis build