Testing ui-router