added rake task for testing example code