Assignment 2 tests for 1.30 and 1.31