Addressing reference issue when same base class is implemented more than once
Added tests and rockspec
adding travis
Merge branch 'rockspec'