Reformat code
Add test gems, improve doc collection find service