minor bugfix for notFoundError
fixes #1595
updated the test
Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak