Added Unit Tests for DatabaseRestActor