Added tests for importing a design from JSON format, closes #127.