Support WP_DEVELOP_DIR in unit test bootstrap
Fix unit tests for 'direction'