test inputhandler (exit)