rebuild tests cases