refactored tests, add method for sharing credentials