Seperate out a new test that verifies packed-refs with no trailing newline

as per @vmg's request