move selenium shutdown to finished(), also another UserTest fix