added default tempo to handle some test cases