fixed Rake task, fixed CodeSamples test

#35