Added tests for everything
Fixed PKGBUILD to work with the tests