More cleanup for changes in automake test target.

Move test stuff from subpackage.am to check.am.
Use check.am in unittests and full-scale tests.
Update full-scale tests for automake 1.13.