move tests file into independent package