tests now working with token