finished fixing tests for deployment