Added tests to Master model