update testcases; remove prefs from buildscript