add db decorator [test]