Many people who are depressed have problems on a job. I feel for your problems. I have had problems myself. I tried to get disability retirement on my own and was rejected. I needed to get a forensic psychiatrist to write up an evaluation to get it. Was the person who tested you hired by the company you worked for? Much of this is subjective and maybe this person skewed things their way. Good Luck in fixing things up.