better test names, safer getDetails method