Add test for livedata api in table display