Fix clean and distclean targets

They should also clean the tests directory