Tests and docs for stirling