add unit tests for readerdictionary and readerhighlight