tests

long overdue tests for pynsq cc @danielhfrank @jehiah