tests all the problems