Unit tests

Added unit tests to get 100% coverage of this plugin.
Let's use the last release for each major version of WP.  That means 3.8.4, 3.9.2, (optionally 4.0) and latest.