Moved access token test to a separate file