Removed unused models
Added more tests for the XML and RAM databases. Closes #16 and #15