tests: use relative imports, make tests a package