Migrate tests to qmake

Execute them by running qtcreator -test Ruby