Two version of the same app one detached

Is it fine to have 2 versions of the same app out of which one is detached ? Both have same package identifiers. Will there be any problems while publishing ?
The detached version is for testing purposes as I am planning to use some third party native libraries.