Changed to use new Pester 2 assert syntax