Fixed ApcTest to use setOptions