getAll not working in unit tests
formatting