Added findAll function
Added further tests