add some unit tests in spec/units