delete ignore test
add rake auto test
extract code to lib file
add files to Gemspec