Renamed package to pkg to avoid conflict
Fixed a typo
Migrated package api tests to gocheck