Upgraded rubydora to 1.6.5
Tests added and updated
Merge branch 'rubydora-165'