Oscar Pistorius judge to rule on psychiatric tests