Moved test for details to different file