tests HW5 against simple tests, working