Do not send os element when template is not present
Refactored config for integration tests