Use FIXTURES_DIR variable in test/server.
Add templates for rewrite fixtures.
Improve signal method coverage with sinon.
Cleaner signal tests, moar coverage.
Extract makePidsDir test helper.
Stub process event handler tests.
Don't shadow console.error directly.
Tests for gracefulShutdown().
Realistic restartWorkers(), with tests.
Extract create/cleanupInstance test helpers.
Convert worker event tests to sinon mocks.
Store pidfile utility in an instance property for mocking.
I love the smell of code coverage in the morning.
sinon.useFakeTimers is magical.
Rename writePidFile{,Sync} to clarify effect.
Properly stub cluster.setupMaster().
Completely stub pidfiles utility in master tests.
Full test coverage for pidfile utility.
Merge branch 'master' into app-used