Move nokogiri_sample to lib directory and fixed spec