add UnitTest for WP