finished Exercise9Test.java