Move unit tests for client, master, and the lib to test/ and move plugin unit tests to <plugin dir>/test.