add test to make sure the correct migration gets executed