Added basic tests for Structure factory (closes #10)