Refactoring: extract fileset for unit tests

The fileset is now declared at the top of the build script with an id,
and referenced in each unit test task using matching refid.