Fix basic tests breaking based on order of files

The build tests were failing on my machine because the order of the
files was not the same within the test list and the actual file list. I
thought this to be an unintended side effect and converted the lists to
sets. I believe this was the intention.