formula parsing update for bricks and brick tests