Updates to tests: deployments serialization and others
(cherry picked from commit 4db021c747e127a1067c84972e7f38e1c985439b)
Made sure integration-tests profile is not active by default or otherwise activated unless specified
(cherry picked from commit 67e1d82cb93329bb6614bf2ff7cc93c96ddc8cff)