fix specs
modernize specs with expect()