Refine tests with 3 different cases