Added final test case. Everything now passes.