[tests] add stub codes