Improve testing, handling of doubles on linux i686, buffer overflows and 'h' type % fields.

Signed-off-by: Mike Stitt <mikes@spindance.com>