A method for detecting one or more metabolites of a test agent in a tissue including: A) incubating a test agent and an enzyme within a three-dimensional structure comprising a first mold or polymer scaffold, a semi-permeable membrane, and a second mold or polymer scaffold, wherein the semi-permeable membrane is disposed between the first and second molds or polymer scaffolds, and wherein the first mold or polymer scaffold has microchannels that form a fluidic branching network that mimics the forces and transport of natural vasculatures and wherein the second mold or polymer scaffold comprises cells; B) forming an enzyme-substrate complex between the enzyme and the test agent; and C) detecting one or more metabolites of the test agent.