final tests and min