"And ask them about the town which was by the sea, when they transgressed in the matter of the Sabbath," meaning: when they transgressed.
"On the day of their Sabbath, their fish came to them openly," meaning: appearing in the water.
"Thus do We test them," meaning: We try them.