Updated the testcode to match the updated answer class