Unit tests for bitstream, Rakefile, added GrowingBuffer class