add completion test possibility
small bug-fixes and refectory
tests for completion after dot without prefixes and without dot at all