For tests only