Fixed predict

Also added a couple of field to ann and created a new test, which now
fails