correct argc
make sure that keylocation is initialized in the tests