Added foreign key relationship between results and users, test