testing models HABTM