Fixup rlm_sqlcounter warnings
Add test for comments