Add empty() to unit test