Added unit tests for the key aspects of completion table