Converted to Google Test