RSpec tests were tweaked so that they can run on both MySQL and PostgreSQL without failures