add tests for Double and Throwable annotations