Tests and yard documentation for the 'authorized amount' calculation
Version 0.9.7