Ported test from container-cdi to addon-manager-tests