Fix the amount testcase