not prefixing id when strlen of idprefix is 0
adding id prefix test
fixing case
making tests more atomic
Merge pull request #4 from naneau/master

Cleaning up unit testing