Updated console tests. Now it uses new api.