Test `Const::attr = nil` assignments, which are currently not supported

This adds a unit test that currently raises a NotImplementedError