Add tests for invalid Handler and AsyncResult Handler with Options

Signed-off-by: Joern Bernhardt <jb@campudus.com>