Refactor codes. Add eager test on findAll method.