Fixed a test. Pass an AF::Base object when creating a file [ci skip]