Adding tests and refactoring existing ones

* Should have a frequency
* Should have a volume
* Should have 3 gain nodes with a value
* Refactoring to use a helper function to round decimels