specs for trim() and startsWith()