(PUP-3239) Add additional spec tests

Added some spec tests for `unsafe_manifest_interpolation?` and revised
the function to return booleans only.