Fix bugs; testApt configuration doesn't work