add test
Update README.md
add specs, close #2
remove puts
Merge pull request #6 from factor-io/add_test

Add test