Added check-if-anonymous function tests and edited string tests