added wavappend(samples::Array, io::IO)
added tests for wavappend