added more tests from lecture examples