Refactor Test::Quattor and add unittests

No need for htese comments.