fixed helper_test_bufferg
made alignment and granularity + more static