Consolidates tests into Pub.spec.js and Sub.spec.js