Cleaning up accessor code, more unit tests for NxtBrick.