add tests and removed someuseless use and bundle construct

Solves #49