Added error tests for exchanging refresh tokens