Yes it runs in the background. You can use the EICAR test file as eddy says to test it.

Also you can verify the WebShield is running by visiting a HTTPS (Secure) website and looking at the certificate in use, it will show Avast as the certificate issuer.