added two tests as static methods