move some constants into appropriate namespace, make sure use long poll on sns tests