Factored out code that depends on a started Overtone server and added tests.