[fix] Fix the tests