Changed error check for get_streams method.
Added streams tests.