remove unused imports
do not use a mutable variable for arg defaults
add tests for roster view