core: It is NotImplementedError()
core: Factor testing code out into a separate script