It’s not a wrong one, to be the least. In this case you’re loading the script to the interpreter instead of directly executing it, but the result is the same.
Should be snap install --devmode hellotest_1.0_amd64.snap
as your snap is now in devmode
confinement, refer Snap confinement for more info.