#306 IllegalArgumentException due to void type parameter
#306 Extracting separate test for reproducing this issue