Added tests and quiniela model