CLOUDIFY-1375, added Unitest for proper component initialization