Added an index to a test and some formatting