Fixing test commands.
Adding environment variables for testing.