fixed Rake task, fixed CodeSamples test