Move tests outside of the package and get coverage to 99%