registerCheck(test => sub {...}, action => sub {...});