[AS7-5217] Add test coverage for OSGi subsystem bootstrap scenarios

https://issues.jboss.org/browse/AS7-5217
#### Contains #3665