Added several simple test cases.