update formula for tests and caveats