fixing tests for console api, Fixes #5