Added factory method to create the actual exercise under test.