Split test into cases