Rename test to tools

Renamed test folder to tools and change the name for test_pref.sh,
so that it can be copied to bin directory along with the thermald.