Migrate test to bin directory.
Merge pull request #4974 from ianna/dd-error-report

Migrate test to bin directory