added test for without credentials