Move assertion to it own unit.

Signed-off-by: crynobone <crynobone@gmail.com>