add test files
Merge pull request #1 from racker/tests

unit tests