Fix bug with incomplete layer structure

Closes #9
Update Sunlumo Project tests