Test code for problems and solutions