Workaround travis

Travis doesn't allow testing against exported interface of a package.
So do it the dirty way and put the test into the package.