Add some tests and errors for bad void usage.