Plus more proper browser events simulation in tests #260
Test logic corrections