Add test script for Jenkins.

Refs #4635
Remove unused file.

Refs #4635
Improve bug messages.

Refs #4635