Tests mostly working for all ABG functions