Tests, function for increasing matrix size