Fix pub tests for automake 1.11 and clean up all the regtests