Added testing for account linking feature #45