To answer your question.. You will not be tested with Hep B because your visa profession is Engineer.

As per Qatar medical commission by laws, there are functional categories where Hep B test is mandatory (e.g. food handlers, medical related professions like nurses, doctors etc)

Please read this further:

https://d28d0ipak1ih43.cloudfront.net/app/media/2486