Added test for inheritance with constructor arguments