add missing includes

Some of these unit tests don't work in isolation. I ran into this while trying your tests on HHVM because our test runner runs each test on its own.