use strings instead of symbols, add tests