test before use