parser small fixed
moved test files
builder and segments helpers