didnt actually fix any bufs
added some test cases