Fixing member? method in endpoints and added some tests.
Merge pull request #4 from charlie-white/master

Fixing member? method in endpoints and added some tests.