Fixes #3584: Enable all tests to be run.

During the enginification process, tests were turned on one by one
and in the process some were left out. This changes the test task
to run all tests in the spec/ and test/ directories and fixes
those that haven't been run since engification.
Merge pull request #4635 from ehelms/fixes-3584

Fixes #3584: Enable all tests to be run.