converted test to google test