Added more database tests
Added a DesignDocument class