fixed #3964 - fixed recognition of opera / opera mobile; added some tests