nextTick phantomjs fix, unit tests for batcher, config() api addition