add tests and removed someuseless use and bundle construct
Merge pull request #60 from ricardclau/add_tests

add tests and removed someuseless use and bundle construct