Man fit to stand trial for attempted murder