Fix #4
add test for generating error with empty results dir
add EmptyResultError