Cleaning up after merge and amending tests
Got the printf statements for topTest to work