refine achievement tests code
add a test case for destroy action