Simplify is.dynamic
Update spec tests