Move test dependency to the end