rename gate unit test

be consistent with associated class names
move gate into their own directory

fix associated tests