Raven db 1977

added extension methods and tests were separated to small