microposts model, relations and first tests