Added condition to tests

If it is not a pull request it does the regular old testing. If it is,
then it does testcover