Use completion asyncMozHistory callback instead of success
Fix querying options, history, add tests