unit tests for scales and rhythms