Test routines added

Added the test routines from the exercise creation tool.