add random input parameters to test functions

Signed-off-by: Stefan Guelland <stefan@sguelland.de>