Add unit tests b2g