Fixed bug with counting buffersize versus sample size, since everything is dualband, added unittests for audiobuffer