test: add expect warn