Added shadow class example in pytest