Update comment tests to work with storage of comment types and statuses in the database instead of as constants.