improved test spec, crop page and added rake task