Fix 'String index out of range: 5' error when video device file has no suffix.
Add 'test' scope to junit lib dependency.
Merge pull request #190 from bhamail/master

Fix 'String index out of range: 5' error when video device file has no s...