Add specs for legend - #515