add optimization directory in tests for new script