test: Work on test file

By running the test script with the flag "auto" it will now run without
demanding any input, which is ideal for automated testing environments.

Also another test case has been added to test out the random
configuration options, made possible by build.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>