Add test and set log location