Rewrote function for consistency.
Applied more methodology while testing. Still a bit cumbersome at times, but shows that you don't always need to mimic the real outcome. Just do enough to get a feel for whether everything works as expected.
Small remarks. Considering this module complete for now.