Added unit tests for spire attributes.