NEXUS-5807: Fixed IT assertion

Before, @noscrape was at very first line,
now it's after "magic" header.

Also, removed some unnecessary try-catch,
as stream was never assigned.