Replaced assertSame() with assertEquals() because the latter produces better output on failure
Builder: do not store action offsets that are equal to 0