test(recent viewed): Add test for ajax request