Modified test function, now using AVM static library