test before show