Mental illness is extremely hard to test for, and weapons increase the risk of death in a home invasion
The safe handling and storage of the weaponry should be ensured as well before anyone should purchase a gun to guarantee children and criminals can never access a firearm.