started unit-testing the whole crystal-surface-solution scheme. Gets messy.