Edited test and added more comments.