added tests and functionality for lists and positions