added shareholder bonus and refacored tests