fixing 2 cli activation key tests

issue #1188