added back detach test (do *copy-dbadatabase*)
added back detach test (do *copy-dbadatabase*)

dsolodow/dbatools,Splaxi/dbatools,sqlpadawan/dbatools,kozloski/dbatools,wsmelton/dbatools,SirCaptainMitch/dbatools