move rerank test to test class