Added unit tests to test for recognition of bad program files (the
picture). Fixes #6