remove debugging comments, add docstrings to helper functions
add tests for default constraints
resolve test output bug, remove unnecessary variables in globs