Implementing tests to /token endpoint. Refatoring
TestMemberServerResource . fixes #42