Add callback in addDatabase function

operators should be surround by spaces `test - 1`