basic endpoint tests, having problems with proper addressing of endpoints