improving tests
question on mocha
fix subscribe()