Fixed mapping error in fake factories

- Mapped a nonexistent design space file to a mapping file.
Changed util.getValue to handle SParams

This whole get/set value business needs a major overhaul.
The new version of getValue relies on some pretty ugly hacks.
Added design tests

These are some simple but reasonably high-level tests.
They exercise more or less all features of the program.