added functions to all completions; added naive completion tests