Add test to for mock as war