add tests for basic field access
reorg bp() code