modifs to unittest
brian api in unittest (in progress)