test cases for amazon helper