Move tests outside package