Fix tests for adprep