first test case works as expected.