added domain class tests