Fix AR tests due to Mysql constant not being defined