Moved test out into separate file.