testing related trim functionality for #2