Add tests for entry listing