pis testcase with binary counter