add abstract class for lr's unit test