MDL-40829 courses heading: additional fix for missing course icon, alignment fix and behat test