Fix wrong implementation on dal tests