Corrected improper variable usage
Adjusted test for em unit
Added tests against inherit