fixed todo syntax
created database history test