basket model, migration and initial tests