[bug 927617] Add basic tests for occurrences report