Add rake task to run compatibility tests

  * Adds `rake compatibility` task that will run the test commands
    listed in the CONTRIBUTING file