To test the file on an old physical device, you must navigate to Settings > Security and check the box for "Unknown Sources" to allow installations outside of the Google Play Store.
Instead of installing an old, unencrypted APK on your primary personal phone, install it inside an Android emulator (like Android Studio or BlueStacks) configured to run an older OS version.