Added unit tests for .instrument