tests passing for [] and []=