Adding initial testing framework.
Renaming method to more appropriately describe its actions.