Finds tests more accurately

When searching for a test, move the cursor to the
beginning of the line before moving the cursor
forward once.
Adds ability to customise the test finder