Add inline and external tests