Use assertEquals instead of assertJsonStringEqualsJsonString
Use setSize in Search instead of deprecated setLimit