Added test NSQ code.
Merge branch 'test' into dev