test: drop reference table before referenced table