added tests for decisions dao
created decision implemented with conditional execution