tests we wrote in lecture