updated getCompletions parameters, readme, tests