Additions and modifications

Added Fund Roles tests. Modified some other tests. Added simple
flowcharts and limited documentation.