added unit tests for reusability system, resolves #10