Move tests out of the main code tree