unit tests WP_TESTS_DIR env var necessary

pr from issue #565