closes #1 unit tests

closes #1