Bugfix validate task priority

This commit fixes a bug in priority validation using the mixin.  It also breaks down the tests slightly so failures should be better isolated to specific cases and improves on the error message produced as a result of problems.

This change was made in reaction to #120's current build issue.  It may not fix the problem but should help  in debugging it some (and it should be fixed anyway).