Changed trios_test function to receive file argument
so that MAE is written to disk.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>