add some special case test functions

Change-Id: Ibf7f76687146f15686eafee3e53a8d83062a3baf