Test for error on duplicate class decleration