Added testcase using NixOps for infrastructure deployment + fix related bug