add simple linear test case