corrections on tests_line_trend procedure

Signed-off-by: MwangiKevin <mwangikevinn@gmail.com>
Procedures
error procedures not complete

Signed-off-by: MwangiKevin <mwangikevinn@gmail.com>
Merge remote-tracking branch 'shohiek/feature/db_procedures' into feature/concurrent_charts