Added very basic, certainly insufficient tests for the exhaustive search function and its helper function.
Added very basic exhaustive search functionality.