Carrying capacity tests

- Added JS tests for carrying capacity, along with jstd configuration