add test for reading entries