updated to version 0.1.2

Updated unit tests and version to 0.1.2. Also replaced all instance of
== with ===