Extract code to create package sources in tests