Added test for base.empty function