refactored tests to use noConflict
added test for completed method
added code for completed method