Added anon fucntion test