Added test and functionality parseList