Added check for negative arguments and inserted corresponding tests. Copied bernoulli_test_chris to bernoulli_test. Now will move onto tgamma()