fixed test and added a set empty message