minor changes to build test directory via rebar and fix test compile errors; added simple subscriber stats test.
Simple test for subscriber stats, not finished.