Primary school test results 'miss targets'