Added test function for convertBeatsToScenario.
A few changes for testing purposes.