improved test logging and added a minimal test command for random ones