HW7: various tests working