Added a test for the is_empty() function.