Test for bad reg key format