final tests with debugging commented out