added another test to show that cached entities don't have to be queried for again.