move test file to t/ directory
use more of the Test::More tools
better Test::More use and some test code cleanup
Merge pull request #4 from szabgab/test

updating the tests