updating tests and API
updating documentation
updating docs and tests
fixed memory leak when overwriting pulses or hearts with the same name