mas unit tests

Change-Id: I17d6586aa4064845a77f652853a2869f9a3d1bf0