Added test to pass user name and pwd as variables