WIP: Behat tests for aliases.

#4591 
#4507