added credentials and set variables in tests