Testing that angular-chosen works with objects