Added a macro that implements SELECT, INSERT, UPDATE and DELETE tests for a given type.