Bug 1028872 - use collapsed property to check for toolbar state in test, r=dao

--HG--
extra : rebase_source : 8a0370bb924fcbdeeb3abe57696f312ada09be35