Tests working, but deploy fails