fixed specs, moved contract_types to seperate controller