fixing aof tests