test before