Add mock class for unittest