Add local tests and update to modularized test extension.