Added unit tests

Added unit tests generated by WP-CLI