Add unit tests and podspec