Migrates from docstring tests to test suite

This merge consists of the addition of multiple tests to the test suite, in an attempt to migrate from
docstring tests and its remnants.