Working through test cases; fixed bug with shared buffers/attributes