fixes

Typo fixes and test dependent module moved to t folder instead of keeping it in lib