update tests for stat()