Ok - I think I finally figured out the reason the unit tests were taking a long time - I was not stopping a thread of the audioImplementation class after finishing the test....so I put an immediate stop to that thread and lo and behold unit tests are running faster and not filling up all available memory....yay!