edited tests, added migration script, due to ruby issues with mysql enums.