Write unit tests

Here are some tests. That I pretty much didnt write.. Just changed slightly.. very slightly.. Blatantly hijacked from https://github.com/puppetlabs/puppet/blob/master/spec/unit/property/boolean_spec.rb