diff not working in test