Fixed tests to check for sending undefined values on deploy