fix & cleanup tests
perlcritic fixes
add pod documentation