added unit tests for everything except majority formula
Merge pull request #33 from habdelra/more-unit-tests

added unit tests for everything except majority formula