Added unit tests for modules
numberOfBoids is now explicitly passed to functions