Split tests into test assemblies specific for each production assembly.

Also fixes two syntax problems