(gh-477) enables root for non-root users on ec2 hypervisor

- fixes codestyle
- fixes tests