using oUnit for testing, test written for first and second tasks