add test for amrnbenc, enable test infrastructure, and fix a leak