Simplify regression test (#574)

* Simplify regression test

* Add asserts for Some/None

* Add assertions for expected ptr

* Introduce second regression test

* Introduce second regression test

* Fix syntax
17 jobs for master
in 23 minutes and 15 seconds, using 0 compute credits, and was queued for 2 seconds